home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / developer_install / CEGUISDK-0.4.1-VC6-STLport.exe / {app} / Samples / common / include / MacCEGuiRendererSelector.h < prev    next >
C/C++ Source or Header  |  2005-11-23  |  2KB  |  53 lines

  1. /************************************************************************
  2.     filename:   MacCEGuiRendererSelector.h
  3.     created:    22/11/2005
  4.     author:     Paul A Schifferer
  5. *************************************************************************/
  6. /*************************************************************************
  7.     Crazy Eddie's GUI System (http://www.cegui.org.uk)
  8.     Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk)
  9.  
  10.     This library is free software; you can redistribute it and/or
  11.     modify it under the terms of the GNU Lesser General Public
  12.     License as published by the Free Software Foundation; either
  13.     version 2.1 of the License, or (at your option) any later version.
  14.  
  15.     This library is distributed in the hope that it will be useful,
  16.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  17.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  18.     Lesser General Public License for more details.
  19.  
  20.     You should have received a copy of the GNU Lesser General Public
  21.     License along with this library; if not, write to the Free Software
  22.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  23. *************************************************************************/
  24. #ifndef _MacCEGuiRendererSelector_h_
  25. #define _MacCEGuiRendererSelector_h_
  26.  
  27. #include "CEGuiRendererSelector.h"
  28. #include <string>
  29.  
  30. class MacCEGuiRendererSelector : public CEGuiRendererSelector
  31. {
  32. public:
  33.     MacCEGuiRendererSelector();
  34.     ~MacCEGuiRendererSelector();
  35.  
  36.     bool inkokeDialog();
  37.  
  38. private:
  39.     // Renderer name strings
  40.     static const std::string    OgreRendererName;
  41.     static const std::string    OpenGLRendererName;
  42.     
  43.     // Static member funcs
  44.     void createDialog();
  45.  
  46.     // general data
  47.     bool d_cancelled;
  48.     
  49.     // Mac widgets
  50. };
  51.  
  52. #endif  // end of guard _MacCEGuiRendererSelector_h_
  53.